package il.ac.technion.wiki.api.support.queries;

import java.util.LinkedList;
import java.util.List;

/**
 * This is public for testing purposes only. <b>Do not use!</b>
 */
public class TokenScope {
	public List<TokenScope> subTokens = new LinkedList<TokenScope>();

	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		
		builder.append("{");
		for (TokenScope ts : subTokens) {
			builder.append(ts.toString());
			builder.append(" ");
		}
		builder.append("} ");
		
		return builder.toString();
	}
}
